package com.jade.zsy.crm.vo;

import com.jade.bss.base.utils.EntityVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 会员的等级
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-4-25
 * Time: 15:04
 * Version : 1.0
 * Remark:
 * History:
 */
@Data
@ApiModel(value ="会员等级")
public class CrmIntegralVo extends EntityVo {

    @ApiModelProperty(value = "规则名称")
    private String name;
    @ApiModelProperty (value = "金额类型")
    private int moneyType;
    @ApiModelProperty (value = "消费金额 积分类型")
    private int type;
    @ApiModelProperty (value = "积分类型描述")
    private String typeDesc;
    @ApiModelProperty (value = "消费金额")
    private BigDecimal consumeMoneyFrom=new BigDecimal("0");
    @ApiModelProperty (value = "consume_money_to")
    private BigDecimal consumeMoneyTo=new BigDecimal("0");
    @ApiModelProperty (value = "赠送积分")
    private int rule=0;
    @ApiModelProperty (value = "状态")
    private int status;
    @ApiModelProperty(value = "描述")
    private String remark;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getMoneyType() {
        return moneyType;
    }

    public void setMoneyType(int moneyType) {
        this.moneyType = moneyType;
    }

    public BigDecimal getConsumeMoneyFrom() {
        return consumeMoneyFrom;
    }

    public void setConsumeMoneyFrom(BigDecimal consumeMoneyFrom) {
        this.consumeMoneyFrom = consumeMoneyFrom;
    }

    public BigDecimal getConsumeMoneyTo() {
        return consumeMoneyTo;
    }

    public void setConsumeMoneyTo(BigDecimal consumeMoneyTo) {
        this.consumeMoneyTo = consumeMoneyTo;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getRule() {
        return rule;
    }

    public void setRule(int rule) {
        this.rule = rule;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
